package cc.mrbird.assets.domain;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
@Table(name = "asset_unit")
public class AssetUnit implements Serializable {
    private static final long serialVersionUID = -3199112934498268409L;

    @Column(name = "asset_id")
    private Integer asset_id;

    @Column(name = "unit_id")
    private Long unit_id;

    public Integer getAsset_id() {
        return asset_id;
    }

    public void setAsset_id(Integer asset_id) {
        this.asset_id = asset_id;
    }

    public Long getUnit_id() {
        return unit_id;
    }

    public void setUnit_id(Long unit_id) {
        this.unit_id = unit_id;
    }

    @Override
    public String toString() {
        return "AssetUnit{" +
                "asset_id=" + asset_id +
                ", unit_id=" + unit_id +
                '}';
    }
}
